package com.medical.manage.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.medical.common.core.domain.Result;
import com.medical.manage.domain.Topic;
import com.medical.manage.mapper.TopicMapper;
import com.medical.manage.service.TopicService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: medical
 * @BelongsPackage: com.medical.manage.service.impl
 * @Author: szw
 * @CreateTime: 2025-03-17  15:00
 * @Description: TODO
 * @Version: 1.0
 */

@Service
public class TopicServiceImpl extends ServiceImpl<TopicMapper, Topic> implements TopicService {

    /**
     * 话题列表
     * @return
     */
    @Override
    public Result<List<Topic>> getTopic() {
        //查询列表
        List<Topic> list = list();
        return Result.success(list);
    }
}
